<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
import HelloWorld from './components/HelloWorld.vue'
</script>

<template>
  <nav>
        <RouterLink to="/">Home</RouterLink>
        <RouterLink to="/about">About</RouterLink>
        <RouterLink to="/nlog">病房登录</RouterLink>
        <RouterLink to="/addg">病房添加</RouterLink>
        <RouterLink to="/showg">病房显示</RouterLink>
        <RouterLink to="/nlogk">科室登录</RouterLink>
        <RouterLink to="/addk">科室添加</RouterLink>
        <RouterLink to="/showk">科室显示</RouterLink>
        <RouterLink to="/nlogD">医生登录</RouterLink>
        <RouterLink to="/addD">医生添加</RouterLink>
        <RouterLink to="/showD">医生显示</RouterLink>
      </nav>

  <RouterView />
</template>

<style scoped>
a{
  margin: 0 10px;
}


</style>
